Click or drag to resize

FileAttachment Class

Represents a file that is attached to an item in the Exchange store.
Inheritance Hierarchy

Namespace:  Independentsoft.Exchange
Assembly:  Independentsoft.Exchange (in Independentsoft.Exchange.dll) Version: 3.0.840.11238
Syntax
public class FileAttachment : Attachment

The FileAttachment type exposes the following members.

Constructors
  NameDescription
Public methodFileAttachment
Initializes a new instance of the FileAttachment class.
Public methodFileAttachment(Byte)
Initializes a new instance of the FileAttachment class.
Public methodFileAttachment(Stream)
Initializes a new instance of the FileAttachment class.
Public methodFileAttachment(String)
Initializes a new instance of the FileAttachment class.
Public methodFileAttachment(Byte, String)
Initializes a new instance of the FileAttachment class.
Public methodFileAttachment(Stream, String)
Initializes a new instance of the FileAttachment class.
Public methodFileAttachment(String, String)
Initializes a new instance of the FileAttachment class.
Public methodFileAttachment(Byte, String, String)
Initializes a new instance of the FileAttachment class.
Public methodFileAttachment(Stream, String, String)
Initializes a new instance of the FileAttachment class.
Public methodFileAttachment(String, String, String)
Initializes a new instance of the FileAttachment class.
Top
Properties
  NameDescription
Public propertyAttachmentId
Identifies the attachment.
(Inherited from Attachment.)
Public propertyContent
Contains the Base64-encoded contents of the file attachment.
Public propertyContentId
Represents an identifier for the contents of an attachment.
(Inherited from Attachment.)
Public propertyContentLocation
Contains the Uniform Resource Identifier (URI) that corresponds to the location of the content of the attachment.
(Inherited from Attachment.)
Public propertyContentType
Describes the Multipurpose Internet Mail Extensions (MIME) type of the attachment content.
(Inherited from Attachment.)
Public propertyIsContactPhoto
Indicates whether the file attachment is a contact picture.
Public propertyIsInline
Represents whether the attachment appears inline within an item.
(Inherited from Attachment.)
Public propertyLastModifiedTime
Represents when the file attachment was last modified.
(Inherited from Attachment.)
Public propertyName
Represents the name of the attachment.
(Inherited from Attachment.)
Public propertySize
Represents the size in bytes of the file attachment.
(Inherited from Attachment.)
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetStream
Gets the stream.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSave(Stream)
Saves the specified stream.
Public methodSave(String)
Saves the specified file path.
Public methodSave(String, Boolean)
Saves the specified file path.
Public methodToString
Converts the value of the current FileAttachment object to its equivalent string representation.
(Overrides ObjectToString.)
Protected methodToXml (Overrides AttachmentToXml.)
Top
See Also